/**
 *
 */
package com.zhuoyue.zhtj.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eit.eitsite.common.persistence.Page;
import com.eit.eitsite.common.service.CrudService;
import com.zhuoyue.zhtj.entity.Stupicture;
import com.zhuoyue.zhtj.dao.StupictureDao;

/**
 * 学生照片Service
 * @author hss
 * @version 2017-09-08
 */
@Service
@Transactional(readOnly = true)
public class StupictureService extends CrudService<StupictureDao, Stupicture> {

	public Stupicture get(String id) {
		return super.get(id);
	}
	
	public List<Stupicture> findList(Stupicture stupicture) {
		return super.findList(stupicture);
	}
	
	public Page<Stupicture> findPage(Page<Stupicture> page, Stupicture stupicture) {
		return super.findPage(page, stupicture);
	}
	
	@Transactional(readOnly = false)
	public void save(Stupicture stupicture) {
		super.save(stupicture);
	}
	
	@Transactional(readOnly = false)
	public void delete(Stupicture stupicture) {
		super.delete(stupicture);
	}
	
}